package b1.conifg.story
{
	import b1.players.*;
	
	public class AnimalMoveConfig extends StepConfig
	{
		public var animalIdStr:String;
		public var startStatus:int;
		public var stopStatus:int;
		public var duration:Number;
		public var scaleX:Number;
		public var startPosX:Number;
		public var startPosY:Number;
		public var stopPosX:Number;
		public var stopPosY:Number;
		public var rotation:Number;
		
		public function AnimalMoveConfig(stepXML:XML)
		{
			super(stepXML);
			animalIdStr = stepXML.animalId;
			startStatus = parseInt(stepXML.startStatus);
			stopStatus = parseInt(stepXML.stopStatus);
			duration = parseFloat(stepXML.duration);
			scaleX = parseFloat(stepXML.scaleX);
			startPosX = parseFloat(stepXML.startPosX);
			startPosY = parseFloat(stepXML.startPosY);
			stopPosX = parseFloat(stepXML.stopPosX);
			stopPosY = parseFloat(stepXML.stopPosY);
			rotation = parseFloat(stepXML.rotation);
		}
		
	}
}